<div id="products" class="bg2">
	<?php if ($module->showtitle) { ?>
	<h3><?php echo $module->title; ?></h3>
	<?php }; ?>
<?php foreach($last_prod as $curr){ ?>
   <div class="product">
       <?php if ($show_image) { ?>
       
           <a href="<?php print $curr->product_link?>">
		   <img src = "<?php print $jshopConfig->image_product_live_path?>/<?php if ($curr->product_thumb_image) print $curr->product_thumb_image; else print $noimage?>" alt="" width="120" height="90"/></a>
       
       <?php } ?>
       <p class="cf1 fs12">
           <a href="<?php print $curr->product_link?>"><?php print $curr->name?></a>
       </p>
       <?php if ($curr->_display_price){?>
       <p class="cf2 fs12">
           <?php print formatprice($curr->product_price);?>
       </p>
       <?php }?>
	   <a class="cf1 fs12 bg1 pl10" href="<?php print $curr->buy_link?>" class="cart1">Thêm giỏ</a>
   </div>       
<?php } ?>
</div>